package cn.xmkeshe.dao;

import cn.xmkeshe.model.Record;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface IRecordDao {

  @Select("select line as name,count(1) as value from orderde GROUP BY line")
  public List<Record> find();

  @Select("select status as name,count(1) as value from orderde GROUP BY status")
  public List<Record> findStatus();

  @Select("select aaccount as name,count(1) as value from orderde GROUP BY aaccount")
  public List<Record> aaccountStatus();

  @Select("select caccount as name,count(1) as value from orderde GROUP BY caccount")
  public List<Record> caccountStatus();
}
